package hw048901.lesson1;

import java.io.*;
import java.util.*;

public  class  Prints {
	
	private ArrayList pList;
	private ArrayList<?> ptList;
		public ArrayList<?> getPtList() {
		return ptList;
	}

	public void setPtList(ArrayList<?> ptList) {
		this.ptList = ptList;
	}

	//ArrayList<E> pList;
	public ArrayList getpList() {
		return pList;
	}

	public void setpList(ArrayList pList) {
		this.pList = pList;
	}

	public Prints(ArrayList pl){
		this.pList = pl;
	}
	public Prints(){
	}	
	
	public void printPtList() {
		   {
			    for (Object o:ptList){
			    	System.out.print( o.toString().concat("  "));
			    }
		   }
	}
		
    public void printStr()
	   {
		    for (Object o:pList){
		    	System.out.print( o.toString().concat("  "));
		    }
	   }
}
